#root {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
}

.todo-container {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 2rem;
}

.todo-container h1 {
  color: #333;
  margin-bottom: 1.5rem;
  text-align: center;
}

.todo-form {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.todo-input {
  flex: 1;
  padding: 0.5rem 1rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
}

.priority-select, .date-input {
  padding: 0.5rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
}

.todo-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.due-date {
  font-size: 0.8rem;
  color: #666;
}

.priority-high {
  border-left: 4px solid #ff4444;
}

.priority-medium {
  border-left: 4px solid #ffa500;
}

.priority-low {
  border-left: 4px solid #4CAF50;
}

.add-button {
  background-color: #4CAF50;
  color: white;
  border: none;
  border-radius: 4px;
  padding: 0.5rem 1.5rem;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.2s;
}

.add-button:hover {
  background-color: #45a049;
}

.todo-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.todo-item {
  display: flex;
  align-items: center;
  padding: 1rem;
  border-bottom: 1px solid #eee;
  gap: 1rem;
}

.todo-item:last-child {
  border-bottom: none;
}

.todo-checkbox {
  width: 1.2rem;
  height: 1.2rem;
  cursor: pointer;
}

.todo-item span {
  flex: 1;
  font-size: 1rem;
  color: #333;
}

.todo-item span.completed {
  text-decoration: line-through;
  color: #888;
}

.delete-button {
  background-color: #ff4444;
  color: white;
  border: none;
  border-radius: 4px;
  padding: 0.3rem 1rem;
  cursor: pointer;
  font-size: 0.9rem;
  transition: background-color 0.2s;
}

.delete-button:hover {
  background-color: #cc0000;
}

body {
  background-color: #f5f5f5;
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}
